package com.mszlu.news.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mszlu.news.dao.pojo.Good;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodMapper extends BaseMapper<Good> {
    List<Good> listGoodByUserId(Long userId);
    Integer GoodCountsByUserId(Long userId);
}
